DI-188 Print Recording data using VB
I need to print the previous recording data using vb in custom recording without open the software and export to excel, i need to make everything using vb, i need support on how do this.
Doubt on Python Serial Connection with DI-2008
Hi, I was creating a Python interface for DI-2008 and had some edge cases that confused me. When I create duplicate channels on the interface, meaning 2 'slist' commands with the same 16-bit configuration, I get 'stop 01\r\x00stop 01\r\x00' as a response
Sync raw data with DI-1100
I tried to get all 4 AI in a py script. I read https://github.com/dataq-instruments/Python/blob/master/binary_comm/DI-1100/DI_1100.py and DI-1100-Protocol.cleaned I set: * encode 0 * ps 0 * slist 0 0 * slist 1 1 * slist 2 2 * slist 3 3 * srate 60000 What
DataqSDK.Log File Creation Issues
I've been using the DataqSDK control within Visual Studio (VB) for several years now and have a problem that lingers that I cannot solve no matter what I've tried. When using this control for developing programs that use DataQ hardware, a "DataqSDK.Log"
DI4208 seems not reading correct voltages while scanning
Hello, I am working with the DI-4208. I seem to get everything setup correct and get it scanning, but I only read back .03V on Channel 1 and .22 volts on Channel 2. I am using a 9V battery to test the reading. Below is the command strings I'm sending
DI-245 reset scan list
The manual that describes the serial communication protocol describes how to add something to the scan list. At the same time it does not tell anything on how to remove or replace something there. Does anybody know how to do that? Can the whole scan list
Communication between C# windows form application and DI-808
Hello I currently writing a c# program to collect data from DI-808. I have a document about the Web API but I can't connect to DI-808 successfully. Should the connection address be "ws:\\169.254.67.83" (the default IP address)? Sorry that I am new to
Looking for C++ sample code to read out DI-4718E
I have a DI-4718E device and looking for sample codes to read out data from it or similar devices. Could anyone help me?
Sample labview program for full Ethernet-based device DI-4718E
Do you have a labview program for DI-4718E based on Ethernet connection?
DATAQ DI 2008 "start" command and read data problem
I only connect USB to my computer and double click the button change to CDC mode. (the LED is yellow) I try some protocol (for example "info o" , "slist 0 0" is work fine), however when I try "start 0" command the device return lots of garbled to me
Libertay Basic and Protocol
I should be able to use liberty basic and the protocol to "talk" to a device? Liberty Basic can connect to com ports.
Compatible High-Speed device protocols with DI-2008
Are there any high-speed devices with identical or near-identical device protocols to the DI-2008? Ideally looking for software/driver compatibility, but would like the ability to increase S/s.
Dataq.Simple device discovery using C#
I have a DI-710 and a DI-155. I can discover the -155 using the Dataq.Simple namespace but not the -710. The -710 shows up in Device Manager and I can pull it up using the Dataq Hardware Manager. Does the Dataq.Simple namespace not support the -710? if
DI-2008 Digital IO programming
Hi, I'm trying to use matlab to turn on and off the digital ports of the DI2008, but I can't figure out the right commands. How do you use the digital ports as a switch? Thanks Charles
4208E Digital Output Configuration
Hello, I have a DI-4208E that I'm looking to control in Linux with Python using the protocol and the Python Starter kit. One of the things I want to do is configure a DIO as a switch to control an external relay. I'm looking in the protocol at the endo
DI-1120 Programming with Visual Basic
Hi, I am trying to create a program that uses the DI-1120 to read and save data to a .csv file and send digital output to a microcontroller. It seems like the best way to achieve this is using Visual Basic, as there is a VB example specific to the Di-1120
ChannelStretch details
Hi, For a project I plan to use two 4108 units with ChannelStretch, but the documentation covering this feature is a bit sparse. I've found a short example in the protocol documentation about how to synchronize, but they mention nothing about the starting
Python Linux Ethernet. Trying to work with DI710 with windows.
Hello People, Is there anybody out there using the hardware without windows. I tried the .VB .net example and had some success although it was far from ready to roll. I would love to use Linux (archlinux,manjaro) and use Python, I would settle for using
Odd multi-channel behavior
I've developed a pretty robust Python3 interface for the DI-1100 for a project I'm working on. The device works really well. I like it a lot, and I can get arbitrarily high sampling rates with efficient Python code. However, when I use multiple channels, the channels after the first one have a two-sample offset (delay). This is consistent regardless of sampling rate. Attached are screenshots of the captures with a 500Hz sinusoid and sampling rates of 2kHz and 8kHz. You can see the 2-sample "skew"
DI-2108 CDC mode binary encoding
I have a DI-2108 in CDC mode which I have recording a single channel with ASCII encoding. When I try to switch to binary encoding (encode 0) I am not getting anything back from the unit. Curiously, if I put it in binary mode and start logging, wait for a while, stop logging, then switch to ascii encoding (encode 1), it dumps a bunch of ascii readings before echoing the encode 1 response. Is there some kind of additional handshaking required in binary mode that I've missed? ASCII mode log: DI-2108
DI-2008 ASCII mode support - or Javascript samples for binary mode ?
Hello Is ASCII mode planned to be supported in some near future versions of firmware in DI-2008 ? I'm reading page 38 from https://www.dataq.com/resources/pdfs/misc/Dataq-Instruments-Protocol.pdf that it's not supported for DI-2008. I would like to know if firmware could be modified to support it or should we look for other solutions ? We are considering using multiple DI-2008's for measuring thermocouples with multiple Raspberry Pi units, located at few manufacturing plants as part of QA-testing.
DI-1100 SDK problem
I have recently downloaded the most recent SDK version, and have been trying to get it working with my DI-1100. I have tried running the vb.net example found in the folder 'Windows Platform .Net library - v2'. It finds the device, but when I try and start data acquisition, it gets to line 84: Await TargetDevice.ReadDataAsync(cancelRead.Token) Then hangs indefinitely. I have also tried writing my own code, and the device always hangs at the ReadDataAsync call. However, this code is based on the example,
RMS presentation with the DI 1100
Hi, I have a pure sine 50 Hz input p2p of 200mV. I tried to present its' RMS values with no luck. I set an adequate window size and it has no effect. In the channel settings I can't mark the RMS acquisition method, any idea way? thanks
Changing AnalogueIn Hardware Range max & mins
Is it possible to change the 'Hardware Range' for Dataq.Devices.DI2008.AnalogVoltageIn channel while acquiring or at least without calling AcqusitionStopAsync()/Start? Which seems to take some time to return. Reason is, that I would like to do some sort of Auto-Scaling on a channel if the voltage being measure starts to exceed the current Max/Min's Similar to a auto ranging multimeter type operation. Paul
Packet structure
Is there a document that shows the packet structure over the ethernet? I may have to integrate into a current software suite.
NewData event handler only called once (WinDaq ActiveX with DI-148U)
I created a simple VB.NET application that accesses a DI-148U using the WinDaq ActiveX control. The form contains buttons for starting and stopping data collection and then a NewData event handler. Here's my code: Public Class Form1 Private Sub AxWinDaq1_NewData(sender As Object, e As AxWINDAQLib._DWinDaqEvents_NewDataEvent) Handles AxWinDaq1.NewData ' This event handler is called by the WinDaq Ax each time SamplesToCollect are ready for reading Dim data As Double(,)
Running out of memory using WinDaq ActiveX with DI-148U
I have a VB.NET application that accesses a DI-148U using the WinDaq ActiveX control. The following code is called repeatedly while application executes: Private Function GetAtDData() As String Dim data As Double(,) Dim output As String AxWinDaq1.EventLevel = 10 AxWinDaq1.Start() data = AxWinDaq1.GetDataFrame(10, WINDAQLib.enumFormat.FormatScaled) output = data(0, 0).ToString() AxWinDaq1.Stop() Return output End Function When this code executes, memory and .GDI object usage continues to increase
Software Works Only with Older Firmware
I have node.js application to read data using a DataQ DI-1110. It works fine with a DataQ firmware version of 1.09, but it fails with a firmware version of 1.17 or 1.18. These are the only firmware versions I have tried. When it fails the "Active" led turns red. This usually happens after a few seconds of collecting data. I am sampling at 1200 Hz. Why might my application not work with newer firmware? What, if anything, has changed in the API? I could not find any release notes for the firmware.
SDK access
I need to resume the data collection with the modules in SDK with C #, the problem is my interface for the data collection is in the second screen, and I have access to the data inception, but when I close this screen and return to access it, the modules do not start the data collection again, so I have to close my program completely.
missing Dll
hi to all, in this days I changed the module type that I am working in SKD, for a DI4108, but I have´t found in the driver that marks the documentation DeviceDriver = DI360NT.DLL I have checked the carpets where the extensions are stored, but I don't found the ones I need, I have also downloaded ActiveX Product again, but I have't found the extension
.NET SDK
Hi, I am looking for a online help for the V2 (.NET) SDK, similar to https://www.dataq.com/resources/installations/web-help/sdk/ which refers exclusively to the V1 SDK. I am trying to write a C# software for communication to the DI-1110, which is not supported by the V1 SDK. Some C# sample code would also be helpful (the VB code samples are not very helpful) thanks Ralf
Sample Rate
We have a DI1100, and we are creating a custom app for it using the .Net SDK. The app mostly works, but I'd like to slow down the sample rate. What is the definition of the value passed into the SetSampleRateOnChannels() function? I tried retrieving the min and max like this: ReadOnlyRange<double> lstSampleRateRange = (targetDevice.Channels[0] as Dataq.Devices.Dynamic.IChannelSampleRate).GetSupportedSampleRateRange(targetDevice); (targetDevice refers to the DI1100, and it is working) SetSampleRateOnChannels()
Controlling Di-149 via java
Problem: Hi, I need to control the DI-149 device via java but am struggling to find how to do this. I'm capable of recognizing the device as a COM port and have the list of protocols but am failing to send or receive any information. Thanks for your help! Solution: See topic http://support.dataq.com/viewtopic.php?f=5&t=5479 for information that may be helpful. The DI-155 protocol is very similar to the DI-149, which does not respond to gains in the slist command and in the BInary Analog Channel Coding